// import { queryWatermark } from "@/api/waterMarking/waterMarking.js"

export const config = {
    data() {
        return {
            globalWatermark: {
                applicationContent: 2,
                angel: "-30",
                text: "江汉城市科技",
                waterTime: this.formatDate('', false),
                fontSize: "28",
                color: '',
                opacity: "10",
                fontStyle: "KaiTi",
                spaceX: "150",
                spaceY: "100",
                id: "8581542672752214016",
                offsetX: "10",
                offsetY: "50",
                status: "0",
              },
        }
    },
    computed: {
        themeColor() {
            return this.$store.state.settings.theme
        },
    },
    watch: {
        themeColor: {
            handler(newVal) {
                this.globalWatermark.color = newVal;
            },
            immediate: true
        }
    }
}